import os
import sys
import time


if __name__ == "__main__":
    result_file = sys.argv[1]

    for i in range(0, 20000):
        os.system("echo '' >> {result_file}")
        os.system(f"date >> {result_file}")
        os.system(f"df -h >> {result_file}")
        time.sleep(5)


